#define Delete(a) if(a){ delete a; a=0;}
#define Delete_Array(a) if (a){ delete[]a; a=0; }
#define Delete_Array_Pointer(a, n) if(a){ for(int i=0;i<n;i++) delete a[i]; delete[]a; }
#define MAX_LENGTH	255
#define Max_FPS 60

char* DoubleToChar(double value, int numAfterPoint, char* out);